package com.wb.vo.wy

import com.wb.utils.DateUtil
import java.util.*
import kotlin.collections.HashMap

/**
 * 网易登录的用户信息
 *
 * @author 祁雪
 */
class AccountInfo {

    var id: String = ""

    var token: String = ""

    var cookie: HashMap<String, String> = hashMapOf()

    var saveDateTime: Date = Date()

    override fun toString(): String {
        return "id: ${id}," +
                "token: ${token}," +
                "saveDateTime: ${DateUtil.getDate("yyyy-MM-dd HH:mm:ss", saveDateTime)}," +
                "cookie: ${cookie}"
    }
}